﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace equinox_proto{

    class FacturacionForm1Panel : EquinoxPanel
    {
        private TextBox clienteInput;
        private TextBox clubInput;
        private Label clubLabel;
        private TextBox casoInput;
        private Label casoLabel;
        private TextBox AnhoInput;
        private Label AnhoLabel;
        private TextBox costoInput;
        private Label costoHoraLabel;
        private TextBox tipoPagoInput;
        private Label tipoPagoLabel;
        private Label abstractLabel;
        private RichTextBox abstractInput;
        private Button botonSiguiente;
        private Label clienteLabel;
        private Home padre;

        public Home Padre
        {
            get { return padre; }
            set { padre = value; }
        }

        public FacturacionForm1Panel(Form padre):base(padre)
        {
            InitializeComponent();
        }
        private void InitializeComponent()
        {
            this.clienteLabel = new System.Windows.Forms.Label();
            this.clienteInput = new System.Windows.Forms.TextBox();
            this.clubInput = new System.Windows.Forms.TextBox();
            this.clubLabel = new System.Windows.Forms.Label();
            this.casoInput = new System.Windows.Forms.TextBox();
            this.casoLabel = new System.Windows.Forms.Label();
            this.AnhoInput = new System.Windows.Forms.TextBox();
            this.AnhoLabel = new System.Windows.Forms.Label();
            this.costoInput = new System.Windows.Forms.TextBox();
            this.costoHoraLabel = new System.Windows.Forms.Label();
            this.tipoPagoInput = new System.Windows.Forms.TextBox();
            this.tipoPagoLabel = new System.Windows.Forms.Label();
            this.abstractLabel = new System.Windows.Forms.Label();
            this.abstractInput = new System.Windows.Forms.RichTextBox();
            this.botonSiguiente = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // clienteLabel
            // 
            this.clienteLabel.AutoSize = true;
            this.clienteLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.clienteLabel.Location = new System.Drawing.Point(93, 116);
            this.clienteLabel.Name = "clienteLabel";
            this.clienteLabel.Size = new System.Drawing.Size(130, 23);
            this.clienteLabel.TabIndex = 0;
            this.clienteLabel.Text = "At request of:";
            // 
            // clienteInput
            // 
            this.clienteInput.Location = new System.Drawing.Point(319, 116);
            this.clienteInput.Name = "clienteInput";
            this.clienteInput.Size = new System.Drawing.Size(432, 22);
            this.clienteInput.TabIndex = 1;
            // 
            // clubInput
            // 
            this.clubInput.Location = new System.Drawing.Point(319, 160);
            this.clubInput.Name = "clubInput";
            this.clubInput.Size = new System.Drawing.Size(432, 22);
            this.clubInput.TabIndex = 3;
            // 
            // clubLabel
            // 
            this.clubLabel.AutoSize = true;
            this.clubLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.clubLabel.Location = new System.Drawing.Point(93, 160);
            this.clubLabel.Name = "clubLabel";
            this.clubLabel.Size = new System.Drawing.Size(124, 23);
            this.clubLabel.TabIndex = 2;
            this.clubLabel.Text = "On behalf of:";
            // 
            // casoInput
            // 
            this.casoInput.Location = new System.Drawing.Point(319, 67);
            this.casoInput.Name = "casoInput";
            this.casoInput.Size = new System.Drawing.Size(118, 22);
            this.casoInput.TabIndex = 5;
            // 
            // casoLabel
            // 
            this.casoLabel.AutoSize = true;
            this.casoLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.casoLabel.Location = new System.Drawing.Point(93, 67);
            this.casoLabel.Name = "casoLabel";
            this.casoLabel.Size = new System.Drawing.Size(62, 23);
            this.casoLabel.TabIndex = 4;
            this.casoLabel.Text = "Caso:";
            // 
            // AnhoInput
            // 
            this.AnhoInput.Location = new System.Drawing.Point(644, 67);
            this.AnhoInput.Name = "AnhoInput";
            this.AnhoInput.Size = new System.Drawing.Size(107, 22);
            this.AnhoInput.TabIndex = 7;
            // 
            // AnhoLabel
            // 
            this.AnhoLabel.AutoSize = true;
            this.AnhoLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.AnhoLabel.Location = new System.Drawing.Point(482, 67);
            this.AnhoLabel.Name = "AnhoLabel";
            this.AnhoLabel.Size = new System.Drawing.Size(51, 23);
            this.AnhoLabel.TabIndex = 6;
            this.AnhoLabel.Text = "Año:";
            // 
            // costoInput
            // 
            this.costoInput.Location = new System.Drawing.Point(644, 208);
            this.costoInput.Name = "costoInput";
            this.costoInput.Size = new System.Drawing.Size(107, 22);
            this.costoInput.TabIndex = 11;
            // 
            // costoHoraLabel
            // 
            this.costoHoraLabel.AutoSize = true;
            this.costoHoraLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.costoHoraLabel.Location = new System.Drawing.Point(482, 208);
            this.costoHoraLabel.Name = "costoHoraLabel";
            this.costoHoraLabel.Size = new System.Drawing.Size(148, 23);
            this.costoHoraLabel.TabIndex = 10;
            this.costoHoraLabel.Text = "Costo por hora:";
            // 
            // tipoPagoInput
            // 
            this.tipoPagoInput.Location = new System.Drawing.Point(319, 208);
            this.tipoPagoInput.Name = "tipoPagoInput";
            this.tipoPagoInput.Size = new System.Drawing.Size(118, 22);
            this.tipoPagoInput.TabIndex = 9;
            // 
            // tipoPagoLabel
            // 
            this.tipoPagoLabel.AutoSize = true;
            this.tipoPagoLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tipoPagoLabel.Location = new System.Drawing.Point(93, 208);
            this.tipoPagoLabel.Name = "tipoPagoLabel";
            this.tipoPagoLabel.Size = new System.Drawing.Size(131, 23);
            this.tipoPagoLabel.TabIndex = 8;
            this.tipoPagoLabel.Text = "Tipo de pago:";
            // 
            // abstractLabel
            // 
            this.abstractLabel.AutoSize = true;
            this.abstractLabel.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.abstractLabel.Location = new System.Drawing.Point(93, 257);
            this.abstractLabel.Name = "abstractLabel";
            this.abstractLabel.Size = new System.Drawing.Size(90, 23);
            this.abstractLabel.TabIndex = 12;
            this.abstractLabel.Text = "Abstract:";
            // 
            // abstractInput
            // 
            this.abstractInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.abstractInput.Location = new System.Drawing.Point(319, 257);
            this.abstractInput.Name = "abstractInput";
            this.abstractInput.Size = new System.Drawing.Size(432, 114);
            this.abstractInput.TabIndex = 13;
            this.abstractInput.Text = "";
            // 
            // botonSiguiente
            // 
            this.botonSiguiente.Font = new System.Drawing.Font("Arial", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.botonSiguiente.Location = new System.Drawing.Point(334, 432);
            this.botonSiguiente.Name = "botonSiguiente";
            this.botonSiguiente.Size = new System.Drawing.Size(199, 78);
            this.botonSiguiente.TabIndex = 14;
            this.botonSiguiente.Text = "Siguiente";
            this.botonSiguiente.UseVisualStyleBackColor = true;
            this.botonSiguiente.Click += new System.EventHandler(this.botonSiguiente_Click);
            // 
            // FacturacionForm1Panel
            // 
            this.Controls.Add(this.botonSiguiente);
            this.Controls.Add(this.abstractInput);
            this.Controls.Add(this.abstractLabel);
            this.Controls.Add(this.costoInput);
            this.Controls.Add(this.costoHoraLabel);
            this.Controls.Add(this.tipoPagoInput);
            this.Controls.Add(this.tipoPagoLabel);
            this.Controls.Add(this.AnhoInput);
            this.Controls.Add(this.AnhoLabel);
            this.Controls.Add(this.casoInput);
            this.Controls.Add(this.casoLabel);
            this.Controls.Add(this.clubInput);
            this.Controls.Add(this.clubLabel);
            this.Controls.Add(this.clienteInput);
            this.Controls.Add(this.clienteLabel);
            this.Name = "FacturacionForm1Panel";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        private void botonSiguiente_Click(object sender, EventArgs e)
        {
            this.padre.Controls.Remove(this);
            FacturacionForm2Panel siguiente = new FacturacionForm2Panel(this.padre);
            siguiente.Anterior = this;
            this.padre.FormPanel = siguiente;
            this.padre.Controls.Add(siguiente);
        }

    }
}
